
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico"> 
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
      <h2 class="title_color text-center">所有日常费用报销申请查询</h2>
    </div>
    <!-- 标题 -->
    <div class="">
    <form action=""  class="form-inline" id="form1">
     <table class="table-bordered table" style="margin-bottom: 0;border-bottom: 0">
          <tr>
            <td style="min-width: 180px;width: 180px;border-bottom: 0"><label for="" class="form-label" >报销单号：</label></td>
            <td style="border-bottom: 0"><input type="text" class="form-control" style="width: min-width:140px;width: 140px;" name=""> <button type="button" style="float: right;" class="showOrHide btn-info btn">展开查询条件</button></td>
           </tr>
      </table>
      <table class="table-bordered table t_table" style="display: none;">
           <tr>
            <td style="min-width: 180px;width: 180px"><label for="" >状态：</label></td>
            <td>
              <select name="" id="" class="form-control select">
                <option value="0">选择</option>
                <option value="1">草稿</option>
                <option value="2">已打回</option>
                <option value="3">部门经理审批</option>
                <option value="4">拆分人审批</option>
                <option value="5">集团领导审批</option>
                <option value="6">抄送</option>
                <option value="7">已归档</option>
                <option value="8">已作废</option>
                <option value="9">已否决</option>
              </select>
            </td>
           </tr>
            <tr>
            <td style="min-width: 180px;width: 180px"><label for="" >主题：</label></td>
            <td><input type="text" class="form-control" style="min-width: 220px;width: 220px" name=""></td>
           </tr>
            <tr>
           <td style="min-width: 180px;width: 180px"><label for="" >创建时间：</label></td>
         <td>
             <div class="form-group">
            <input type="text" id="start" placeholder="开始日期" class="form-control layer-date " style="width: 120px;display: inline-block;" name="">
           </div>
            <div class="form-group">
                至
            </div>
           <div class="form-group">
            <input type="text" class="form-control layer-date"  placeholder="结束日期" style="display: inline-block;width: 120px;" id="end" name="">
           </div>
            </td>
           </tr>
             <tr>
            <td  style="min-width: 180px;width: 180px"><label for="">部门：</label></td>
            <td><input type="text" class="form-control" name="" placeholder="请输入关键字或空格查询">
              <a href="javascript:;">选择</a>
            </td>
           </tr>
            <tr>
            <td  style="min-width: 180px;width: 180px">已选择的部门</td>
            <td></td>
           </tr>
             <tr>
            <td style="min-width: 180px;width: 180px"><label for="">申请人：</label></td>
           <td><input type="text" class="form-control" name="" placeholder="请输入关键字或空格查询">
              <a href="javascript:;">选择</a>
            </td>
           </tr>
             <tr>
            <td  style="min-width: 180px;width: 180px">已选择的申请人</td>
            <td></td>
           </tr>
             <tr>
            <td style="min-width: 180px;width: 180px"><label for="">收款人：</label></td>
           <td><input type="text" class="form-control" name="" placeholder="请输入关键字或空格查询">
              <a href="javascript:;">选择</a>
            </td>
           </tr>
             <tr>
            <td  style="min-width: 180px;width: 180px">已选择的收款人</td>
            <td></td>
           </tr>
            <tr>
            <td  style="min-width: 180px;width: 180px"><label for="">是否已支付：</label></td>
            <td>
              <select name="" id="" class="form-control select">
                  <option value="0">请选择</option>
                  <option value="1">已支付</option>
                  <option value="2">未支付</option>
              </select>
            </td>
           </tr>
      </table>
      <table class="table table-bordered">
       <tr>
      <td colspan="2" class="text-center" style="border-top:0 ">
           <button class="btn btn-info query">查询</button>
           <button class="btn btn-info emptyIf" type="reset" id="reset">清空查询条件</button>
      </td>
          </tr>
      </table>
    
      <table class="table table-striped table-bordered table-hover bud_hei text-center">
        <tr class="info">
            <th class="text-center">序号</th>
            <th class="text-center">报销单号</th>
            <th class="text-center">主题</th>
            <th class="text-center">部门/申请人(代办人)</th>
            <th class="text-center">收款人</th>
            <th class="text-center">创建时间</th>
            <th class="text-center">是否已支付</th>
            <th class="text-center">已支付金额</th>
            <th class="text-center">应支付金额(元)</th>
            <th class="text-center">状态</th>
            <th class="text-center">操作</th>
        </tr>
        <tr>
          <td>1</td>
          <td><a href="{:url('Other/departbxquerydetail')}">201711030002</a></td>
          <td class="text-left">2017年10月蔡启蒙的报销单</td>
          <td>华中大区/蔡启蒙</td>
          <td>蔡启蒙</td>
          <td>2017-11-03</td>
          <td>否</td>
          <td class="text-right ObjectNum">0</td>
          <td class="text-right ObjectNum">110</td>
          <td class="text-left">拆分人审批</td>
          <td><a href="javascript:;">流程图</a></td>
        </tr>
          <tr>
          <td>2</td>
          <td><a href="day_cost_bx_apply_detail.html">201711030002</a></td>
          <td class="text-left font-bold">2017年10月曾小倩的报销单<span class="glyphicon glyphicon-ok duigou" title="已生效" aria-hidden="true"></span></td>
          <td>华中大区/蔡启蒙</td>
          <td>蔡启蒙</td>
          <td>2017-11-03</td>
          <td>否</td>
          <td class="text-right ObjectNum">0</td>
          <td class="text-right ObjectNum">110</td>
          <td>拆分人审批</td>
          <td><a href="javascript:;">流程图</a></td>
        </tr>
        </table>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
        <script src="__STATIC__/layout/js/common.js"></script>
    <script>

        //日期范围限制
        var start = {
            elem: '#start',
            format: 'YYYY/MM/DD',
            min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end.min = datas; //开始日选好后，重置结束日的最小日期
                end.start = datas //将结束日的初始值设定为开始日
            }
        };
        var end = {
            elem: '#end',
            format: 'YYYY/MM/DD',
            min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
        laydate(start);
        laydate(end);

          /*显示或展开查询条件*/
        $(".showOrHide").click(function(){
          var str = $(this).html()
        
          /*console.log(tr)*/
        if(str=="展开查询条件"){
            $(".t_table").show();
            $(this).html("隐藏查询条件")
          }else{
            $(".t_table").hide();
            $(this).html("展开查询条件")
          }
        })
             $(document).ready(function(){
            var $ObjectNum =$(".ObjectNum");
               toNum($ObjectNum);
        })
         $(document).ready(function () {

        $('#reset').on('click',function () {
            $("#form1 input").each(function(){
                $(this).val('');
            });
            $("#form1 select").each(function(){
                $(this).val('');
            });
            $('#form1').submit()
            return false
        })
    })   
    </script>
</body>

</html>